Arrays in JavaScript
Array length:
array:
a. Add element to array
New value:
Add to the End
Set Value of Arr[3]
Add with method Push
Add with method Unshift
b. Remove element from array
pop()
The pop() method removes the last item of an array, and returns that item
shift()
The shift() method removes the first item of an array, and returns that item
c. Sort
Sort alphabetically
Sort ascending
Sort descending